package com.lxmes.device.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 维修通知对象 fw_repair_record
 *
 * @author zhangzhiyu
 * @date 2023-05-11
 */
@ApiModel(value = "FwRepairRecord", description = "维修通知对象")
public class FwRepairRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty("序号")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 预约编号 */
    @Excel(name = "预约编号")
    @ApiModelProperty("预约编号")
    private String reservationNumber;

    /** 车牌号 */
    @Excel(name = "车牌号")
    @ApiModelProperty("车牌号")
    private String licensePlate;

    /** 车辆条形码 */
    @Excel(name = "车辆条形码")
    @ApiModelProperty("车辆条形码")
    private String vehicleBarcode;

    /** 车主电话 */
    @Excel(name = "车主电话")
    @ApiModelProperty("车主电话")
    private String ownerPhone;

    /** 微信 */
    @Excel(name = "微信")
    @ApiModelProperty("微信")
    private String wechat;

    /** 故障描述 */
    @ApiModelProperty("故障描述")
    private String faultDescription;

    /** 故障地址 */
    @Excel(name = "故障地址")
    @ApiModelProperty("故障地址")
    private String faultAddress;

    /** 载重情况 */
    @Excel(name = "载重情况")
    @ApiModelProperty("载重情况")
    private String loadSituation;

    /** 是否救援 */
    @Excel(name = "是否救援")
    @ApiModelProperty("是否救援")
    private String isRescue;

    /** 报修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("报修时间")
    private Date repairTime;

    /** 报修人 */
    @Excel(name = "报修人")
    @ApiModelProperty("报修人")
    private String reporter;

    /** 报修人电话 */
    @Excel(name = "报修人电话")
    @ApiModelProperty("报修人电话")
    private String reporterPhone;

    /** 接警人 */
    @Excel(name = "接警人")
    @ApiModelProperty("接警人")
    private String handler;

    /** 接警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接警时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("接警时间")
    private Date handlingTime;

    /** 处理方式 */
    @Excel(name = "处理方式")
    @ApiModelProperty("处理方式")
    private String handlingMethod;

    /** 预计入厂时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计入厂时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("预计入厂时间")
    private Date expectedArrivalTime;

    /** 维保工位 */
    @Excel(name = "维保工位")
    @ApiModelProperty("维保工位")
    private String maintenancePosition;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty("审核人")
    private String auditor;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date auditTime;

    /** 通知方式 */
    @Excel(name = "通知方式")
    @ApiModelProperty("通知方式")
    private String notifyMethod;

    /** 通知时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通知时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("通知时间")
    private Date notifyTime;

    /** 接收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("接收时间")
    private Date receiveTime;

    /** 接收人 */
    @Excel(name = "接收人")
    @ApiModelProperty("接收人")
    private String receiver;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setReservationNumber(String reservationNumber)
    {
        this.reservationNumber = reservationNumber;
    }

    public String getReservationNumber()
    {
        return reservationNumber;
    }
    public void setLicensePlate(String licensePlate)
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate()
    {
        return licensePlate;
    }
    public void setVehicleBarcode(String vehicleBarcode)
    {
        this.vehicleBarcode = vehicleBarcode;
    }

    public String getVehicleBarcode()
    {
        return vehicleBarcode;
    }
    public void setOwnerPhone(String ownerPhone)
    {
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerPhone()
    {
        return ownerPhone;
    }
    public void setWechat(String wechat)
    {
        this.wechat = wechat;
    }

    public String getWechat()
    {
        return wechat;
    }
    public void setFaultDescription(String faultDescription)
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription()
    {
        return faultDescription;
    }
    public void setFaultAddress(String faultAddress)
    {
        this.faultAddress = faultAddress;
    }

    public String getFaultAddress()
    {
        return faultAddress;
    }
    public void setLoadSituation(String loadSituation)
    {
        this.loadSituation = loadSituation;
    }

    public String getLoadSituation()
    {
        return loadSituation;
    }
    public void setIsRescue(String isRescue)
    {
        this.isRescue = isRescue;
    }

    public String getIsRescue()
    {
        return isRescue;
    }
    public void setRepairTime(Date repairTime)
    {
        this.repairTime = repairTime;
    }

    public Date getRepairTime()
    {
        return repairTime;
    }
    public void setReporter(String reporter)
    {
        this.reporter = reporter;
    }

    public String getReporter()
    {
        return reporter;
    }
    public void setReporterPhone(String reporterPhone)
    {
        this.reporterPhone = reporterPhone;
    }

    public String getReporterPhone()
    {
        return reporterPhone;
    }
    public void setHandler(String handler)
    {
        this.handler = handler;
    }

    public String getHandler()
    {
        return handler;
    }
    public void setHandlingTime(Date handlingTime)
    {
        this.handlingTime = handlingTime;
    }

    public Date getHandlingTime()
    {
        return handlingTime;
    }
    public void setHandlingMethod(String handlingMethod)
    {
        this.handlingMethod = handlingMethod;
    }

    public String getHandlingMethod()
    {
        return handlingMethod;
    }
    public void setExpectedArrivalTime(Date expectedArrivalTime)
    {
        this.expectedArrivalTime = expectedArrivalTime;
    }

    public Date getExpectedArrivalTime()
    {
        return expectedArrivalTime;
    }
    public void setMaintenancePosition(String maintenancePosition)
    {
        this.maintenancePosition = maintenancePosition;
    }

    public String getMaintenancePosition()
    {
        return maintenancePosition;
    }
    public void setAuditor(String auditor)
    {
        this.auditor = auditor;
    }

    public String getAuditor()
    {
        return auditor;
    }
    public void setAuditTime(Date auditTime)
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime()
    {
        return auditTime;
    }
    public void setNotifyMethod(String notifyMethod)
    {
        this.notifyMethod = notifyMethod;
    }

    public String getNotifyMethod()
    {
        return notifyMethod;
    }
    public void setNotifyTime(Date notifyTime)
    {
        this.notifyTime = notifyTime;
    }

    public Date getNotifyTime()
    {
        return notifyTime;
    }
    public void setReceiveTime(Date receiveTime)
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime()
    {
        return receiveTime;
    }
    public void setReceiver(String receiver)
    {
        this.receiver = receiver;
    }

    public String getReceiver()
    {
        return receiver;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("reservationNumber", getReservationNumber())
            .append("licensePlate", getLicensePlate())
            .append("vehicleBarcode", getVehicleBarcode())
            .append("ownerPhone", getOwnerPhone())
            .append("wechat", getWechat())
            .append("faultDescription", getFaultDescription())
            .append("faultAddress", getFaultAddress())
            .append("loadSituation", getLoadSituation())
            .append("isRescue", getIsRescue())
            .append("repairTime", getRepairTime())
            .append("reporter", getReporter())
            .append("reporterPhone", getReporterPhone())
            .append("handler", getHandler())
            .append("handlingTime", getHandlingTime())
            .append("handlingMethod", getHandlingMethod())
            .append("expectedArrivalTime", getExpectedArrivalTime())
            .append("maintenancePosition", getMaintenancePosition())
            .append("auditor", getAuditor())
            .append("auditTime", getAuditTime())
            .append("notifyMethod", getNotifyMethod())
            .append("notifyTime", getNotifyTime())
            .append("receiveTime", getReceiveTime())
            .append("receiver", getReceiver())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
